DAOS-18613 container: Add pool UUID to cont_op_in (#17921)#18209
Draft
liw wants to merge 1 commit into
Draft
Conversation
Current cont_op_in types do not include a pool UUID field. An engine
receiving such a request has to obtain the pool UUID by looking up the
pool handle. If the handle is not cached locally, the engine is unable
to fetch the pool handle from the PS because it doesn't have the pool
UUID. Hence, we need to add a pool UUID field to a new version of
cont_op_in.
This patch introduces version 9 (v9) of the container RPC protocol:
- In v9, cont_op_v9_in includes the pool UUID field ci_pool.
- All requests using a cont_op_in type gets a v9 version.
- Engine-to-engine CONT_PROP_SET_BYLABEL is changed directly.
- cont_prop_set_v9_in no longer has cpsi_pool_uuid, for the new
cpsi_op.ci_pool has that.
- cont_tgt_query_in no longer contains the pool handle UUID. This
engine-to-engine request is changed directly.
- The v8 protocol remains unchanged.
- The v7 and earlier stuff is removed.
- Unnecessary opc and cont_proto_ver parameters are removed.
- Unnecessary ds_cont_op_handler_{v6,v7,v8} are removed.
Signed-off-by: Li Wei <liwei@hpe.com>
|
Ticket title is 'daos_test/suite.py:DaosCoreTest.test_daos_drain_simple - DRAIN16: 0x16 != 0 daos_drain_simple.c:890: error: Failure!' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Current cont_op_in types do not include a pool UUID field. An engine receiving such a request has to obtain the pool UUID by looking up the pool handle. If the handle is not cached locally, the engine is unable to fetch the pool handle from the PS because it doesn't have the pool UUID. Hence, we need to add a pool UUID field to a new version of cont_op_in.
This patch introduces version 9 (v9) of the container RPC protocol:
Steps for the author:
After all prior steps are complete: